//
//  MM_BaseViewController.h
//  MallManage_IOS
//
//  Created by 张浩 on 2023/9/11.
//

#import <UIKit/UIKit.h>
#import "MM_TitleView.h"

NS_ASSUME_NONNULL_BEGIN

@interface MM_BaseViewController : UIViewController

/**  是否可以侧滑返回,默认YES  */
@property (nonatomic, assign) BOOL bePopGesture;
/**  是否隐藏tabbar,默认YES  */
@property (nonatomic, assign) BOOL beHideTabbar;
/**  标题  */
@property (nonatomic, strong) MM_TitleView *titleView;

@property (nonatomic, assign) BOOL beBackCourse;

#pragma mark -------- 公有方法 ------------

//默认只提示文字
- (void)showStateText:(NSString *)text;

#pragma mark - 网络加载UI
- (void)showLoadingUI;
- (void)hideLoadingUI;

/**
 处理网络正常情况
 */
- (void)dealNetworkingSuccess;

@end

NS_ASSUME_NONNULL_END
